<template>
  <div id="app">
    <div id="wrapper" >
      <router-view></router-view>
    </div>
  </div>
</template>

<script>
export default {
  name: "App",
  components: {   
  },
  mounted:function(){
    this.GO()
  },
  methods:{
    GO(){
      this.$router.push({
      //和router-link标签中的跳转对象相同
      path:'/index',    
      })
    }
  }
};
</script>

<style>
#wrapper {
  min-width: 1300px;
  max-width: 1600px;
  margin: 0 auto;
}
</style>
